<template>
  <div class="info-form-group">
    <div class="info-form-group-title mb30">装配信息</div>
    <span class="empty" v-if="!formData.assemblyInfos.length && !isEdit">暂无数据</span>
    <div v-else class="info-form-group-content fr4">
      <AddAssemble v-model:assembly-infos="formData.assemblyInfos" />
    </div>
  </div>
</template>
<script lang="ts" setup>
import { inject } from "vue";

import AddAssemble from "../../AddAssemble.vue";
defineProps({
  selectList: { type: Object, default: () => {} }
});
const formData = defineModel("formData", {
  type: Object,
  default: () => {}
});
// 变量
const isEdit = inject("isEdit");
</script>
<style lang="scss" scoped>
.empty {
  width: 100%;
  color: #999999;
}
</style>
